/*
** my_strncat.c for my_strncat in /home/goupil_r//afs/Jour_07
** 
** Made by robin goupil
** Login   <goupil_r@epitech.net>
** 
** Started on  Tue Oct  9 12:49:30 2012 robin goupil
** Last update Tue Oct  9 14:33:11 2012 robin goupil
*/

char	*my_strncat(char *dest, char *src, int nb)
{
  int	i;
  int	j;

  i = 0;
  j = 0;
  while (dest[i] != '\0')
    {
      i = i + 1;
    }
  while (src[j] != '\0' && j < nb)
    {
      dest[i + j] = src[j];
      j = j + 1;
    }
  return dest;
}
